Skip to content

Add device auth login flow to CLI#474

Merged
mpociot merged 2 commits intomasterfrom
mpociot/cli-oauth-login
Jan 14, 2026
Merged

Add device auth login flow to CLI#474
mpociot merged 2 commits intomasterfrom
mpociot/cli-oauth-login

Conversation

@mpociot
Copy link
Copy Markdown
Collaborator

@mpociot mpociot commented Jan 13, 2026

Implement device authentication flow for Expose CLI, enabling users to authenticate via browser without manual token entry.

Features

  • Device Auth Flow: Users can run expose login or any share command to authenticate via browser
  • Multi-Auth Support: OAuth login via GitHub and Google, plus email/password registration
  • Auto-Login: Share commands automatically trigger login when no token is configured
  • Browser Integration: Automatically opens browser for authentication with fallback URL option
  • Pro Setup: Automatically triggers pro account setup after successful authentication

User Experience

Users can now onboard seamlessly: run expose, authenticate via browser (choose OAuth or create account), and start sharing immediately.

Implement automatic OAuth login flow when authentication token is missing. Users running share commands without authentication are now prompted to login via their browser, supporting GitHub and Google OAuth as well as email/password authentication.
@mpociot mpociot merged commit 487c01f into master Jan 14, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant